package com.example.minesweepers;

import android.content.Context;
import android.graphics.Color;
import android.graphics.Typeface;
import android.util.TypedValue;
import android.widget.TextView;

public class FlagsTextView extends TextView {
	private Context context;

	public FlagsTextView(Context context) {
		super(context);
		this.context = context;
	}

	public void initializeView(int screenWidth, int screenHeight) {
		setTypeface(Typeface.createFromAsset(context.getAssets(), "fonts/minesweeper_font.ttf"));
		setPadding(screenWidth/5 - screenWidth/20, 0, 0, 0);
		setText("000");
		setTextColor(Color.WHITE);
		setTextSize(TypedValue.COMPLEX_UNIT_PX, screenHeight/15);
	}
}
